package com.lhd.qd.module.system.resource.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@ApiModel(value = "资源列表返回结果")
@Data
public class ResourceListVO {

    @ApiModelProperty(value = "编码")
    private String code;

    @ApiModelProperty(value = "上级编码")
    private String parentCode;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "类型")
    private Integer typeCode;

    @ApiModelProperty(value = "权限名称")
    private String operatePermName;

    @ApiModelProperty(value = "请求方法")
    private Integer operateHttpMethodCode;

    @ApiModelProperty(value = "请求方法")
    private String operateHttpMethodName;

    @ApiModelProperty(value = "请求url")
    private String operateHttpUrl;

    @ApiModelProperty(value = "前端路由名称")
    private String navRouteName;

    @ApiModelProperty(value = "图标")
    private String navIcon;

    @ApiModelProperty(value = "顺序")
    private Integer navSortNo;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "创建人id")
    private Long createUserId;

}
